package com.dzsw.javabase.test;

public class SelectCase {

    public static void main(String[] args) {
        int condition = 1;
        switch (condition) {
            case 1:
                System.out.printf("1");
            case 2:
                System.out.printf("2");
            case 3:
                System.out.printf("3");
            case 4:
            default:
                System.out.printf("default");
        }
    }
}
